/**
 * \file ConfigDlg.cpp
 *
 * \brief Implementation file for class CConfigDlg
 *
 * $Id: ConfigDlg.cpp,v 1.1.1.1 2008/04/23 13:29:14 mgh Exp $
 *
 *
 * Copyright (C) 2006 Michael G. Herstine <sp1ff@pobox.com>
 *
 * Permission to use, copy, or modify this source code is hereby granted
 * free of  charge, provided  that this copyright  notice appear  on all
 * copies  and  on   all  source  code  derived  from   this  code.   No
 * representation is made regarding the suitability of this software for
 * any  purpose.  It  is provided  "as  is" without  express or  implied
 * warranty.
 *
 *
 */

#include "StdAfx.h"             // Pre-compiled header
#include "AddIn.h"              // Project header
#include "ConfigDlg.h"          // For class CConfigDlg

////////////////////////////////////////////////////////////////////////

CConfigDlg::CConfigDlg(const std::string &strHelloPhrase) :
  m_strHelloPhrase(strHelloPhrase)
{ }

CConfigDlg::~CConfigDlg()
{ }

LRESULT CConfigDlg::OnInitDialog(UINT   /*nMsg*/,
                                 WPARAM wParam,
                                 LPARAM lParam,
                                 BOOL  &bHandled)
{
  CDlgMixin<CConfigDlg>::OnInitDialog(wParam, lParam, bHandled);

  return 1L;                    // Let the system set the focus
}

LRESULT CConfigDlg::OnClickedOK(WORD /*wNotifyCode*/,
                                WORD wID,
                                HWND /*hWndCtl*/,
                                BOOL& /*bHandled*/)
{
  CDlgMixin<CConfigDlg>::OnClickedOK();
  EndDialog(wID);
  return 0L;
}

LRESULT CConfigDlg::OnClickedCancel(WORD /*wNotifyCode*/,
                                    WORD wID,
                                    HWND /*hWndCtl*/,
                                    BOOL& /*bHandled*/)
{
  EndDialog(wID);
  return 0L;
}

// Local Variables:
// fill-column: 72
// indent-tabs-mode: nil
// show-trailing-whitespace: t
// End:

// ConfigDlg.cpp ends here.
